package com.woniu.liuzhougov;

import javafx.application.Application;
import org.apache.http.util.Args;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan(value = {"com.woniu.liuzhougov.*.dao","com.woniu.liuzhougov.*.mapper"})
@EnableTransactionManagement  //启动事物管理
@ServletComponentScan
public class LiuzhougovApplication {

    public static void main(String[] args) {
        SpringApplication.run(LiuzhougovApplication.class, args);

        /*ItemTaskService itemTaskService = new ItemTaskServiceImpl();
        List<ItemTask> itemTasks = itemTaskService.searchTaskByItemId(2,1,5);
        System.out.println(itemTasks);*/

    }

}
